package com.jifeng.sterilizer.service.impl;

import com.jifeng.sterilizer.utils.PageUtils;
import com.jifeng.sterilizer.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jifeng.sterilizer.dao.VcodeDao;
import com.jifeng.sterilizer.entity.VcodeEntity;
import com.jifeng.sterilizer.service.VcodeService;


@Service("vcodeService")
public class VcodeServiceImpl extends ServiceImpl<VcodeDao, VcodeEntity> implements VcodeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<VcodeEntity> page = this.page(
                new Query<VcodeEntity>().getPage(params),
                new QueryWrapper<VcodeEntity>()
        );

        return new PageUtils(page);
    }

}